package com.flyoil.petromp.entity.entity_service;

import com.flyoil.petromp.base.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/5 0005.
 * 供应商服务列表的模型
 */

public class SupplierServiceListEntity extends BaseEntity{


    /**
     * data : {"list":[{"id":23,"username":"","sn":"","name":"摄像头威胁","specification":"2017标准","supplierList":["龙"]}],"total":24,"pageNumber":1,"pageSize":10}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":23,"username":"","sn":"","name":"摄像头威胁","specification":"2017标准","supplierList":["龙"]}]
         * total : 24
         * pageNumber : 1
         * pageSize : 10
         */

        private int total;
        private int pageNumber;
        private int pageSize;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 23
             * username :
             * sn :
             * name : 摄像头威胁
             * specification : 2017标准
             * supplierList : ["龙"]
             */

            private int id;
            private String username;
            private String sn;
            private String name;
            private String specification;
            private List<String> supplierList;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSpecification() {
                return specification;
            }

            public void setSpecification(String specification) {
                this.specification = specification;
            }

            public List<String> getSupplierList() {
                return supplierList;
            }

            public void setSupplierList(List<String> supplierList) {
                this.supplierList = supplierList;
            }
        }
    }
}
